package org.jet.emall.rbac.po;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author xiaozai
 * @since 2020-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AdminUrlPrivilegeRoleView对象", description="VIEW")
public class AdminUrlPrivilegeRoleView implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "拦截url前缀,如果没有这个操作的权限，则这个url会被拦截")
    private String url;

    @ApiModelProperty(value = "该操作所属菜单的id")
    private Integer menuId;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "操作名称,例如添加用户")
    private String operationName;

    @ApiModelProperty(value = "操作的请求方式: get,post,put,delete, patch")
    private String method;


}
